package com.jingtai.core.entity.merchants;


import com.baomidou.mybatisplus.annotation.TableName;
import com.jingtai.core.entity.BaseEntity;
import com.jingtai.validate.swagger.CApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

import io.swagger.annotations.*;

import java.math.BigDecimal;

import java.util.Date;

/**
 * 商户向供应商申请一件代发
 * 
 * @author sunlaiqian
 * @date 2020-12-02 15:08:11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("shop_merchants_supply_undertakes_apply")
@ApiModel(value = "商户向供应商申请一件代发", description = "商户向供应商申请一件代发")
public class MerchantsSupplyUndertakesApply  extends BaseEntity implements Serializable {




	/**
	 * 商户ID
	 */
	@CApiModelProperty(value = "商户ID",required = true,cNotEmpty = true)
	private Long merchantsId;

	/**
	 * 供应商ID
	 */
	@CApiModelProperty(value = "供应商ID",required = true,cNotEmpty = true)
	private Long supplyId;

	/**
	 * 申请编号
	 */
	@CApiModelProperty(value = "申请编号",required = true,cNotEmpty = true)
	private String applyCode;

	/**
	 * 订单总编号
	 */
	@CApiModelProperty(value = "订单总编号",required = true,cNotEmpty = true)
	private String orderCode;

	/**
	 * 商品总金额 (供应价*单价)
	 */
	@CApiModelProperty(value = "商品总金额 (供应价*单价)",required = true,cNotEmpty = true)
	private BigDecimal goodsTotalPrice;

	/**
	 * 处理状态 10待处理  20已接单  30已完成  40未完成  50已拒绝
	 */
	@CApiModelProperty(value = "处理状态 10待处理  20已接单  30已完成  40未完成  50已拒绝",required = true,cNotEmpty = true)
	private Integer dealState;


}
